package com.bondex.viresult.dto;

import com.bondex.charter.pojo.ContainerInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 放舱页面入参实体
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BookingReleaseDTO implements Serializable {
    @Schema(description = "客户委托号")
    private String orderNo;
    @Schema(description = "毛重")
    private BigDecimal grossWeight;
    @Schema(description = "箱列表")
    private List<ContainerInfo> containerInfos;
    @Schema(description = "收件人")
    private String to;
    @Schema(description = "抄送人")
    private String cc;
    @Schema(description = "拒绝原因/备注")
    private String refusalCause;

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public List<ContainerInfo> getContainerInfos() {
        return containerInfos;
    }

    public void setContainerInfos(List<ContainerInfo> containerInfos) {
        this.containerInfos = containerInfos;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getRefusalCause() {
        return refusalCause;
    }

    public void setRefusalCause(String refusalCause) {
        this.refusalCause = refusalCause;
    }
}
